package com.gridmobi.xrtb.model.openrtb24;


import com.gridmobi.xrtb.model.Message;

public class App {

	private String id;
	private String name;
	private String bundle;
	private String domain;
	private String storeurl;
	private String[] cat;
	private String[] sectioncat;
	private String[] pagecat;
	private String ver;
	private String privacypolicy;
	private String paid;
	private Publisher publisher;
	private Content Content;
	private String keywords;
	private Object ext;
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the bundle
	 */
	public String getBundle() {
		return bundle;
	}
	/**
	 * @param bundle the bundle to set
	 */
	public void setBundle(String bundle) {
		this.bundle = bundle;
	}
	/**
	 * @return the domain
	 */
	public String getDomain() {
		return domain;
	}
	/**
	 * @param domain the domain to set
	 */
	public void setDomain(String domain) {
		this.domain = domain;
	}
	/**
	 * @return the storeurl
	 */
	public String getStoreurl() {
		return storeurl;
	}
	/**
	 * @param storeurl the storeurl to set
	 */
	public void setStoreurl(String storeurl) {
		this.storeurl = storeurl;
	}
	/**
	 * @return the cat
	 */
	public String[] getCat() {
		return cat;
	}
	/**
	 * @param cat the cat to set
	 */
	public void setCat(String[] cat) {
		this.cat = cat;
	}
	/**
	 * @return the sectioncat
	 */
	public String[] getSectioncat() {
		return sectioncat;
	}
	/**
	 * @param sectioncat the sectioncat to set
	 */
	public void setSectioncat(String[] sectioncat) {
		this.sectioncat = sectioncat;
	}
	/**
	 * @return the pagecat
	 */
	public String[] getPagecat() {
		return pagecat;
	}
	/**
	 * @param pagecat the pagecat to set
	 */
	public void setPagecat(String[] pagecat) {
		this.pagecat = pagecat;
	}
	/**
	 * @return the ver
	 */
	public String getVer() {
		return ver;
	}
	/**
	 * @param ver the ver to set
	 */
	public void setVer(String ver) {
		this.ver = ver;
	}
	/**
	 * @return the privacypolicy
	 */
	public String getPrivacypolicy() {
		return privacypolicy;
	}
	/**
	 * @param privacypolicy the privacypolicy to set
	 */
	public void setPrivacypolicy(String privacypolicy) {
		this.privacypolicy = privacypolicy;
	}
	/**
	 * @return the paid
	 */
	public String getPaid() {
		return paid;
	}
	/**
	 * @param paid the paid to set
	 */
	public void setPaid(String paid) {
		this.paid = paid;
	}
	/**
	 * @return the publisher
	 */
	public Publisher getPublisher() {
		return publisher;
	}
	/**
	 * @param publisher the publisher to set
	 */
	public void setPublisher(Publisher publisher) {
		this.publisher = publisher;
	}
	/**
	 * @return the content
	 */
	public Content getContent() {
		return Content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(Content content) {
		Content = content;
	}
	/**
	 * @return the keywords
	 */
	public String getKeywords() {
		return keywords;
	}
	/**
	 * @param keywords the keywords to set
	 */
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	/**
	 * @return the ext
	 */
	public Object getExt() {
		return ext;
	}
	/**
	 * @param ext the ext to set
	 */
	public void setExt(Object ext) {
		this.ext = ext;
	}

	@Override
	public String toString(){
		StringBuffer sb = new StringBuffer();
		sb.append(this.getId()).append(Message.logDelimiter);
		sb.append(this.getName()).append(Message.logDelimiter);
		sb.append(this.getBundle()).append(Message.logDelimiter);
		sb.append(this.getStoreurl()).append(Message.logDelimiter);
		sb.append(this.getKeywords()).append(Message.logDelimiter);
		return sb.toString();
	}
}
